clearset more off#delimit ;log using "/Users/sebastian/Mac/Argentina/Fraud/paper/replication_materials/turnout_ssd_test", replace text;use "/Users/sebastian/Mac/Argentina/Fraud/paper/replication_materials/authentic_data.dta";drop if excluded==1;drop socialist_1931-socialist_1940;drop eligible_voters_1941-socialist_1941;tostring radical_1940 conservative_1940 radical_1941 conservative_1941, replace;gen s_1=substr(radical_1940,2,1);gen s_2=substr(conservative_1940,2,1);gen s_3=substr(radical_1941,2,1);gen s_4=substr(conservative_1941,2,1);destring radical_1940 conservative_1940 radical_1941 conservative_1941, replace;destring s_1 s_2 s_3 s_4, replace;*/ Second Digit Regression Test */;*/ 1940 */;sum s_1 s_2 turnout_1940;regress s_2 turnout_1940;*/ 1941 */;sum s_3 s_4 turnout_1941;regress s_4 turnout_1941;log c;